package com.hm.pan.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.hm.pan.model.Message;

@Mapper
public interface MessageMapper {
	
	
	//根据时间排序，时间最近的在前面
	public List<Message> findAll();
	
	public List<Message> findByPage(Integer page);
	
	public Integer count();
	
	public Boolean insertMessage(Message message);

}
